package com.ljh.article;

import com.ljh.creature.Creature;

public abstract class ArticleWeapon extends Article{

    public  void useArticle(Creature enemyCreature){
        enemyCreature.setHp(enemyCreature.getHp()+this.getEffectValue());
    }

    public ArticleWeapon() {
    }

    public ArticleWeapon(String id, String description, int effectValue) {
        super(id, description, effectValue);
    }
}
